package com.x.schedule.DAO;

import com.x.schedule.pojo.SysSchedule;
import com.x.schedule.pojo.SysUser;

import java.util.List;

/**
 * ClassName: SysUserDAO
 * Package: IntelliJ IDEA
 * Description:

 DAO:data access Object 数据访问对象
 该类中用于定义针对CURD的方法

 * Written by HanXu
 * Create 2024.08.25 14:54
 */
public interface SysUserDAO {

    /**
     * 增加一条用户记录
     * @param sysUser
     * @return 成功1，失败0
     */
    int addSysUser(SysUser sysUser);

    SysUser findByUserName(String username);

}
